articles related to {$tag['tag']}

Fatal error

SELECT *
FROM columnarticles
WHERE site_id='SDL'
 and published>='100'  and (language='en' or language='fr') and subject like '%{$tag['tag']}%' 

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'tag']}%'' at line 4

Stack dump :

  • /webengine/common.inc.php @ 1637 in stackDump()
  • /webengine/db.inc.php @ 269 in Notice::fatalError()
  • /webengine/db.inc.php @ 366 in DB::query()
  • /webengine/column.inc.php @ 953 in DB::querySelectAllRows()
  • /webengine/column.inc.php @ 966 in ColumnGetRelatedTopicsArticles()
  • /webengine/tag.view.php @ 24 in displayArticleRelatedTopics()